package com.caul.demo.hadoop.mapreduce.join;

import org.apache.hadoop.fs.Path;
import org.apache.hadoop.fs.PathFilter;

/**
 * Created by BlueDream on 2018-04-09.
 */
public class JoinCachePathFilter implements PathFilter {

    private static final String ORDER_START = "order";

    @Override
    public boolean accept(Path path) {
        return path.getName().startsWith(ORDER_START);
    }
}
